<template>
	<view class="box" v-if="state">
		<view class="backcolor" @click="clone"></view>
		<view class="content">
			<view class="content-top">
				功能B
			</view>
			<view class="list">
				<view class="list-item" v-for="(item,index) in list" :key="index">
				<image src="../static/logo.png" mode=""></image>
				<view class="list-txt">
					功能{{index+1}}
				</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"tc",
		props:{
			state:false
		},
		data() {
			return {
				list:[1,1,1,1,1,1,1,1,1,1]
			};
		},
		methods:{
			clone(){
				this.$emit('clone')
			}
		}
	}
</script>

<style lang="less" scoped>
.box{
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	.backcolor{
		width: 100%;
		height: 100%;
		background: #6f6f6f;
		position: absolute;
	}
	.content{
		position: absolute;
		left: 50%;
		top: 50%;
		width: 95%;
		border-radius: 20rpx;
		overflow: hidden;
		transform: translate(-50%,-50%);
		image{
			width: 100rpx;
			height: 100rpx;
		}
		.content-top{
			width: 100%;
			height: 70rpx;
			text-align: center;
			line-height: 70rpx;
			background-color: #272a3b;
			font-size: 30rpx;
			color: #6ba509;
		}
		.list{
			display: flex;
			flex-wrap: wrap;
			background: #f1f1f1;
			padding-bottom: 30rpx;
			.list-item{
				width: 25%;
				text-align: center;
				height: 180rpx;
				box-sizing: border-box;
				padding-top: 30rpx;
			}
		}
	}
}
</style>